import request from '@/utils/request'

// 查询HPLC-UV/DAD列表
export function listTdmHplcUvDad(query) {
  return request({
    url: '/tdm/TdmHplcUvDad/list',
    method: 'get',
    params: query
  })
}

// 查询HPLC-UV/DAD详细
export function getTdmHplcUvDad(id) {
  return request({
    url: '/tdm/TdmHplcUvDad/' + id,
    method: 'get'
  })
}

// 新增HPLC-UV/DAD
export function addTdmHplcUvDad(data) {
  return request({
    url: '/tdm/TdmHplcUvDad',
    method: 'post',
    data: data
  })
}

// 修改HPLC-UV/DAD
export function updateTdmHplcUvDad(data) {
  return request({
    url: '/tdm/TdmHplcUvDad',
    method: 'put',
    data: data
  })
}

// 删除HPLC-UV/DAD
export function delTdmHplcUvDad(id) {
  return request({
    url: '/tdm/TdmHplcUvDad/' + id,
    method: 'delete'
  })
}
// 审核
export function to_examine(id,shenHe,pinZhong) {
  const data = {id, shenHe,pinZhong}
  return request({
    url: '/admin/examine',
    method: 'put',
    data:data
  })
}
